package com.yuncheng.spcyApi.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuncheng.spcyApi.entity.SpcyJcyJpjbxx;
import com.yuncheng.common.base.service.BaseService;
import com.yuncheng.spcyApi.vo.common.OrderItemVo;
import com.yuncheng.spcyApi.vo.common.PageVo;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * @Description: 检查员解聘基本信息
 * @Author: yuncheng
 * @Date: 2024-01-25
 * @Version: V1.0
 */
public interface ISpcyJcyJpjbxxService extends BaseService<SpcyJcyJpjbxx> {

    // 分页查询
    Page<SpcyJcyJpjbxx> pageList(SpcyJcyJpjbxx query, String gjz, PageVo pageVo, OrderItemVo orderItemVo);

    // 添加解聘登记
    SpcyJcyJpjbxx addJpjbxx(SpcyJcyJpjbxx bean);

    // 修改解聘登记
    void updateJpjbxx(SpcyJcyJpjbxx buffer) throws IllegalAccessException, NoSuchMethodException, InvocationTargetException;

    // 提交解聘登记
    SpcyJcyJpjbxx submitJpjbxx(SpcyJcyJpjbxx updateBean, SpcyJcyJpjbxx buffer) throws IllegalAccessException, NoSuchMethodException, InvocationTargetException;

    // 删除解聘登记
    List<String> deleteJpjbxx(List<String> idsList);
}
